package com.e1xp.deport_management_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.e1xp.deport_management_system.entity.Io;
import com.e1xp.deport_management_system.exception.CustomException;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author E1xP
 * @since 2021-04-09
 */
public interface IIoService extends IService<Io> {

    List<Map<String, String>> getRecent(long instanceId, int count);

    List<Io> getList(long instanceId);

    void add(long instanceId, Io io) throws CustomException;
}
